package com.wz.project.stock.domain;

import com.wz.framework.aspectj.lang.annotation.Excel;
import com.wz.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 库存对象 bas_stock
 *
 * @author wz
 * @date 2021-11-12
 */
public class BasStock extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 库存id */
    @Excel(name = "库存id")
    private String stockId;

    /** 货位id */
    @Excel(name = "货位id")
    private String cargoSpaceId;

    /** 货位状态 */
    @Excel(name = "库存状态")
    private String stockStatus;

    /** 物品状态 */
    @Excel(name = "物品状态")
    private String productStatus;

    /** 批号 */
    @Excel(name = "批号")
    private String lotNo;

    /** 入库日期 */
    @Excel(name = "入库日期")
    private String inDate;

    /** 回流日期 */
    @Excel(name = "回流日期")
    private String backDate;

    private String productGuid;

    /** 物品id */
    @Excel(name = "主物料编号")
    private String productId;

    /** 数量 */
    @Excel(name = "数量")
    private BigDecimal quantity;

    private String quantityX;

    private String quantityJ;

    private String layerQuantity;

    /** 作业号 */
    @Excel(name = "作业号")
    private String jobId;

    /** 托盘码 */
    @Excel(name = "托盘码")
    private String trayCode;

    /** 产品明细 */
    @Excel(name = "子物料编码")
    private String productDetailId;

    /** 出库数量 */
    @Excel(name = "出库数量")
    private String outQuantity;

    /** 入库单guid */
    @Excel(name = "入库单guid")
    private String stockinGuid;

    /** 入库单id */
    @Excel(name = "入库单id")
    private String stockinId;

    /** 入库类型 */
    @Excel(name = "入库类型")
    private String inType;

    private String inClassName;

    private String inClassId;

    /** 仓库id */
    @Excel(name = "仓库id")
    private String warehouseId;

    private String classgroupNumber;

    private String classWorkshopDateTime;

    private String classId;

    private String classNowDateTime;

    /** 库存来源 */
    @Excel(name = "库存来源")
    private String stockSource;

    private String stackingId;

    private String lineId;
    private String userId;

    private String printDate;
    @Excel(name = "母件条码")
    private String barcode;
    @Excel(name = "子件条码")

    private String barcodeDetail;

    private String cargoSpaceName;
    /**
     * 出库单id
     */
    private String stockoutDetailId;

    private String stockoutId;

    private String productName;
    private String productDetailName;
    private String cargoSpaceIdBef;
    private String the_type;

    public String getCargoSpaceIdBef() {
        return cargoSpaceIdBef;
    }

    public void setCargoSpaceIdBef(String cargoSpaceIdBef) {
        this.cargoSpaceIdBef = cargoSpaceIdBef;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getStockoutId() {
        return stockoutId;
    }

    public void setStockoutId(String stockoutId) {
        this.stockoutId = stockoutId;
    }

    public String getStockoutDetailId() {
        return stockoutDetailId;
    }

    public void setStockoutDetailId(String stockoutDetailId) {
        this.stockoutDetailId = stockoutDetailId;
    }

    public void setStockId(String stockId)
    {
        this.stockId = stockId;
    }

    public String getStockId()
    {
        return stockId;
    }
    public void setCargoSpaceId(String cargoSpaceId)
    {
        this.cargoSpaceId = cargoSpaceId;
    }

    public String getCargoSpaceId()
    {
        return cargoSpaceId;
    }
    public void setStockStatus(String stockStatus)
    {
        this.stockStatus = stockStatus;
    }

    public String getStockStatus()
    {
        return stockStatus;
    }
    public void setProductStatus(String productStatus)
    {
        this.productStatus = productStatus;
    }

    public String getProductStatus()
    {
        return productStatus;
    }
    public void setLotNo(String lotNo)
    {
        this.lotNo = lotNo;
    }

    public String getLotNo()
    {
        return lotNo;
    }
    public void setInDate(String inDate)
    {
        this.inDate = inDate;
    }

    public String getInDate()
    {
        return inDate;
    }
    public void setBackDate(String backDate)
    {
        this.backDate = backDate;
    }

    public String getBackDate()
    {
        return backDate;
    }
    public void setProductGuid(String productGuid)
    {
        this.productGuid = productGuid;
    }

    public String getProductGuid()
    {
        return productGuid;
    }
    public void setProductId(String productId)
    {
        this.productId = productId;
    }

    public String getProductId()
    {
        return productId;
    }
    public void setQuantity(BigDecimal quantity)
    {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity()
    {
        return quantity;
    }
    public void setQuantityX(String quantityX)
    {
        this.quantityX = quantityX;
    }

    public String getQuantityX()
    {
        return quantityX;
    }
    public void setQuantityJ(String quantityJ)
    {
        this.quantityJ = quantityJ;
    }

    public String getQuantityJ()
    {
        return quantityJ;
    }
    public void setLayerQuantity(String layerQuantity)
    {
        this.layerQuantity = layerQuantity;
    }

    public String getLayerQuantity()
    {
        return layerQuantity;
    }
    public void setJobId(String jobId)
    {
        this.jobId = jobId;
    }

    public String getJobId()
    {
        return jobId;
    }
    public void setTrayCode(String trayCode)
    {
        this.trayCode = trayCode;
    }

    public String getTrayCode()
    {
        return trayCode;
    }
    public void setProductDetailId(String productDetailId)
    {
        this.productDetailId = productDetailId;
    }

    public String getProductDetailId()
    {
        return productDetailId;
    }
    public void setOutQuantity(String outQuantity)
    {
        this.outQuantity = outQuantity;
    }

    public String getOutQuantity()
    {
        return outQuantity;
    }
    public void setStockinGuid(String stockinGuid)
    {
        this.stockinGuid = stockinGuid;
    }

    public String getStockinGuid()
    {
        return stockinGuid;
    }
    public void setStockinId(String stockinId)
    {
        this.stockinId = stockinId;
    }

    public String getStockinId()
    {
        return stockinId;
    }
    public void setInType(String inType)
    {
        this.inType = inType;
    }

    public String getInType()
    {
        return inType;
    }
    public void setInClassName(String inClassName)
    {
        this.inClassName = inClassName;
    }

    public String getInClassName()
    {
        return inClassName;
    }
    public void setInClassId(String inClassId)
    {
        this.inClassId = inClassId;
    }

    public String getInClassId()
    {
        return inClassId;
    }
    public void setWarehouseId(String warehouseId)
    {
        this.warehouseId = warehouseId;
    }

    public String getWarehouseId()
    {
        return warehouseId;
    }
    public void setClassgroupNumber(String classgroupNumber)
    {
        this.classgroupNumber = classgroupNumber;
    }

    public String getClassgroupNumber()
    {
        return classgroupNumber;
    }
    public void setClassWorkshopDateTime(String classWorkshopDateTime)
    {
        this.classWorkshopDateTime = classWorkshopDateTime;
    }

    public String getClassWorkshopDateTime()
    {
        return classWorkshopDateTime;
    }
    public void setClassId(String classId)
    {
        this.classId = classId;
    }

    public String getClassId()
    {
        return classId;
    }
    public void setClassNowDateTime(String classNowDateTime)
    {
        this.classNowDateTime = classNowDateTime;
    }

    public String getClassNowDateTime()
    {
        return classNowDateTime;
    }
    public void setStockSource(String stockSource)
    {
        this.stockSource = stockSource;
    }

    public String getStockSource()
    {
        return stockSource;
    }
    public void setStackingId(String stackingId)
    {
        this.stackingId = stackingId;
    }

    public String getStackingId()
    {
        return stackingId;
    }
    public void setLineId(String lineId)
    {
        this.lineId = lineId;
    }

    public String getLineId()
    {
        return lineId;
    }
    public void setPrintDate(String printDate)
    {
        this.printDate = printDate;
    }

    public String getPrintDate()
    {
        return printDate;
    }

    public String getCargoSpaceName() {
        return cargoSpaceName;
    }

    public void setCargoSpaceName(String cargoSpaceName) {
        this.cargoSpaceName = cargoSpaceName;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getBarcode() {
        return barcode;
    }

    public void setBarcode(String barcode) {
        this.barcode = barcode;
    }
    public String getBarcodeDetail() {
        return barcodeDetail;
    }

    public void setBarcodeDetail(String barcodeDetail) {
        this.barcodeDetail = barcodeDetail;
    }
    public String getProductDetailName() {
        return productDetailName;
    }

    public void setProductDetailName(String productDetailName) {
        this.productDetailName = productDetailName;
    }

    public String getThe_type() {
        return the_type;
    }

    public void setThe_type(String the_type) {
        this.the_type = the_type;
    }

    @Override
    public String toString() {
        return "BasStock{" +
                "stockId='" + stockId + '\'' +
                ", cargoSpaceId='" + cargoSpaceId + '\'' +
                ", stockStatus='" + stockStatus + '\'' +
                ", productStatus='" + productStatus + '\'' +
                ", lotNo='" + lotNo + '\'' +
                ", inDate='" + inDate + '\'' +
                ", backDate='" + backDate + '\'' +
                ", productGuid='" + productGuid + '\'' +
                ", productId='" + productId + '\'' +
                ", quantity=" + quantity +
                ", quantityX='" + quantityX + '\'' +
                ", quantityJ='" + quantityJ + '\'' +
                ", layerQuantity='" + layerQuantity + '\'' +
                ", jobId='" + jobId + '\'' +
                ", trayCode='" + trayCode + '\'' +
                ", productDetailId='" + productDetailId + '\'' +
                ", outQuantity='" + outQuantity + '\'' +
                ", stockinGuid='" + stockinGuid + '\'' +
                ", stockinId='" + stockinId + '\'' +
                ", inType='" + inType + '\'' +
                ", inClassName='" + inClassName + '\'' +
                ", inClassId='" + inClassId + '\'' +
                ", warehouseId='" + warehouseId + '\'' +
                ", classgroupNumber='" + classgroupNumber + '\'' +
                ", classWorkshopDateTime='" + classWorkshopDateTime + '\'' +
                ", classId='" + classId + '\'' +
                ", classNowDateTime='" + classNowDateTime + '\'' +
                ", stockSource='" + stockSource + '\'' +
                ", stackingId='" + stackingId + '\'' +
                ", lineId='" + lineId + '\'' +
                ", userId='" + userId + '\'' +
                ", printDate='" + printDate + '\'' +
                ", barcode='" + barcode + '\'' +
                ", barcodeDetail='" + barcodeDetail + '\'' +
                ", cargoSpaceName='" + cargoSpaceName + '\'' +
                ", stockoutDetailId='" + stockoutDetailId + '\'' +
                ", stockoutId='" + stockoutId + '\'' +
                ", productName='" + productName + '\'' +
                ", productDetailName='" + productDetailName + '\'' +
                ", cargoSpaceIdBef='" + cargoSpaceIdBef + '\'' +
                ", the_type='" + the_type + '\'' +
                '}';
    }
}
